package mapper;

import po.User;

import java.util.List;

public interface UserMapper {

    boolean insertUser(User user);

    boolean deleteUserByName(String username);

    boolean updateUserByName(User user);

    User selectUserByName(String username);

    User selectUserByNameAndPassword(String username, String password);

    List<User> selectAllUsers();

}